// 菜单数据
export const RouteInfo = {
  msg: "操作成功",
  code: 200,
  data: [
    {
      name: "Goods",
      path: "/goods",
      hidden: false,
      redirect: "noRedirect",
      component: "Layout",
      alwaysShow: true,
      meta: {
        title: "耗材管理",
        icon: "monitor",
        noCache: false,
        link: null
      },
      children: [
        {
          name: "GoodsInfo",
          path: "goods",
          hidden: false,
          component: "goods/index",
          meta: {
            title: "耗材资料",
            icon: "online",
            noCache: false,
            link: null
          }
        }
      ]
    },
    {
      name: "Inventory",
      path: "/inventory",
      hidden: false,
      redirect: "noRedirect",
      component: "Layout",
      alwaysShow: true,
      meta: {
        title: "库存管理",
        icon: "monitor",
        noCache: false,
        link: null
      },
      children: [
        {
          name: "InventoryList",
          path: "inventoryList",
          hidden: false,
          component: "inventory/inventoryList/index",
          meta: {
            title: "库存列表",
            icon: "druid",
            noCache: false,
            link: null
          }
        },
        {
          name: "Warehousing",
          path: "warehousing",
          hidden: false,
          component: "inventory/warehousing/index",
          meta: {
            title: "入库管理",
            icon: "server",
            noCache: false,
            link: null
          }
        },
        {
          name: "Outbound",
          path: "outbound",
          hidden: false,
          component: "inventory/outbound/index",
          meta: {
            title: "出库管理",
            icon: "redis",
            noCache: false,
            link: null
          }
        },
        {
          name: "StainedGoods",
          path: "stainedGoods",
          hidden: false,
          component: "inventory/stainedGoods/index",
          meta: {
            title: "污损耗材",
            icon: "redis-list",
            noCache: false,
            link: null
          }
        }
      ]
    }
  ]
};

// 系统管理模块菜单，只有管理员才有权限访问user_type = 1
export const system = {
  name: "System",
  path: "/system",
  hidden: false,
  redirect: "noRedirect",
  component: "Layout",
  alwaysShow: true,
  meta: {
    title: "系统管理",
    icon: "monitor",
    noCache: false,
    link: null
  },
  children: [
    {
      name: "User",
      path: "user",
      hidden: false,
      component: "system/user/index",
      meta: {
        title: "用户管理",
        icon: "online",
        noCache: false,
        link: null
      }
    }
  ]
};
